package com.ruoyi.inventory.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 盘库关联对象 w_check_goods_rel
 * 
 * @author wzy
 * @date 2024-08-11 12:51:49
 */
public class WCheckGoodsRel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 盘库ID */
    private Long checkGoodsId;

    /** 货物ID */
    private Long goodsId;

    /** 捆包号 */
    @Excel(name = "捆包号")
    private String bundleNumber;

    /** 盘库状态 */
    @Excel(name = "盘库状态")
    private String checkGoodsStatus;

    /** 盘库人 */
    @Excel(name = "盘库人")
    private String checkGoodsPerson;

    /** 盘库时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "盘库时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date checkGoodsTime;

    public void setCheckGoodsId(Long checkGoodsId) 
    {
        this.checkGoodsId = checkGoodsId;
    }

    public Long getCheckGoodsId() 
    {
        return checkGoodsId;
    }
    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }
    public void setBundleNumber(String bundleNumber) 
    {
        this.bundleNumber = bundleNumber;
    }

    public String getBundleNumber() 
    {
        return bundleNumber;
    }
    public void setCheckGoodsStatus(String checkGoodsStatus) 
    {
        this.checkGoodsStatus = checkGoodsStatus;
    }

    public String getCheckGoodsStatus() 
    {
        return checkGoodsStatus;
    }
    public void setCheckGoodsPerson(String checkGoodsPerson) 
    {
        this.checkGoodsPerson = checkGoodsPerson;
    }

    public String getCheckGoodsPerson() 
    {
        return checkGoodsPerson;
    }
    public void setCheckGoodsTime(Date checkGoodsTime) 
    {
        this.checkGoodsTime = checkGoodsTime;
    }

    public Date getCheckGoodsTime() 
    {
        return checkGoodsTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("checkGoodsId", getCheckGoodsId())
            .append("goodsId", getGoodsId())
            .append("bundleNumber", getBundleNumber())
            .append("checkGoodsStatus", getCheckGoodsStatus())
            .append("checkGoodsPerson", getCheckGoodsPerson())
            .append("checkGoodsTime", getCheckGoodsTime())
            .toString();
    }
}
